package com.gxa.p2p.pojo;

import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 *  还款记录
 */
@ToString
public class RepaymentDetail implements Serializable {

    private static final long serialVersionUID = 4634360734939272313L;
    private Integer id;   // 主键

    private Date repaymentShouldDate; // 应该还款时间

    private Date repaymentActualDate;  // 实际还款时间

    private String status;  // 还款状态

    private String repaymentType;  // 还款方式

    private String repaymentUser;  // 还款用户

    public RepaymentDetail(Integer id, Date repaymentShouldDate, Date repaymentActualDate, String status, String repaymentType, String repaymentUser) {
        this.id = id;
        this.repaymentShouldDate = repaymentShouldDate;
        this.repaymentActualDate = repaymentActualDate;
        this.status = status;
        this.repaymentType = repaymentType;
        this.repaymentUser = repaymentUser;
    }

    public RepaymentDetail() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getRepaymentShouldDate() {
        return repaymentShouldDate;
    }

    public void setRepaymentShouldDate(Date repaymentShouldDate) {
        this.repaymentShouldDate = repaymentShouldDate;
    }

    public Date getRepaymentActualDate() {
        return repaymentActualDate;
    }

    public void setRepaymentActualDate(Date repaymentActualDate) {
        this.repaymentActualDate = repaymentActualDate;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getRepaymentType() {
        return repaymentType;
    }

    public void setRepaymentType(String repaymentType) {
        this.repaymentType = repaymentType == null ? null : repaymentType.trim();
    }

    public String getRepaymentUser() {
        return repaymentUser;
    }

    public void setRepaymentUser(String repaymentUser) {
        this.repaymentUser = repaymentUser == null ? null : repaymentUser.trim();
    }
}